package com.prtek.reminder.adapter;

import android.content.Context;
import com.prtek.reminder.bean.User;
import com.prtek.reminder.view.ContactSelectView;

/**
 * @author Jarly
 * @Description:
 * @date 2018年7月27日
 */
public class ContactSelectAdapter extends BaseListAdapter<User> {

  public ContactSelectAdapter(Context context) {
    super(context);
  }

  @Override protected BaseListAdapter<User>.ViewHolder onCreateViewHolder(int position) {
    return new ViewHolder(new ContactSelectView(mContext));
  }

  @Override
  protected void onBindViewHolder(BaseListAdapter<User>.ViewHolder viewHolder, int position) {
    ((ContactSelectView) viewHolder.mView).bindNormalView(mDataList.get(position));
  }
}
